<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="description" content="Первый российский бесплатный редактор HTML от Студии 42" />
		<title>Edytor</title>
		<link rel="stylesheet" href="http://elrte.ru/demo/elrte/js/ui-themes/base/ui.all.css" type="text/css" media="screen" title="no title" charset="utf-8" /> 
		<link rel="stylesheet" href="http://elrte.ru/demo/elrte/css/elrte.full.css" type="text/css" media="screen" title="no title" charset="utf-8">
		<link rel="stylesheet" href="http://elrte.ru/demo/elfinder/css/elfinder.css" type="text/css" media="screen" title="no title" charset="utf-8">
		<script src="http://elrte.ru/demo/elrte/js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script> 
		<script src="http://elrte.ru/demo/elrte/js/jquery-ui-1.7.2.custom.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="http://elrte.ru/demo/elrte/js/elrte.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="http://elrte.ru/demo/elrte/js/i18n/elrte.ru.js" type="text/javascript" charset="utf-8"></script>
	
		<script src="http://elrte.ru/demo/elfinder/js/elfinder.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="http://elrte.ru/demo/elfinder/js/i18n/elfinder.ru.js" type="text/javascript" charset="utf-8"></script>

		<script type="text/javascript" charset="utf-8">
		$().ready(function() {
			var opts = {
				cssClass : 'el-rte',
				lang     : 'en',
				height   : 420,
				toolbar  : 'maxi',
				cssfiles : ['http://elrte.ru/demo/elrte/css/elrte-inner.css'],
				fmOpen : function(callback) {
					$('<div id="myelfinder" />').elfinder({
						url : 'http://localhost/testy/elfinder/connectors/php/connector.php',
						lang : 'en',
						dialog : { width : 900, modal : true, title : 'Files' },
						closeOnEditorCallback : true,
						editorCallback : callback
					})
				}
			}
			$('#editor').elrte(opts);
		})
		</script>
	</head>
<body>
<form method="post" action="http://elrte.ru/demo/shared/post.php">
<div id="editor"></div>
</form>
</body>
</html>
